import request from '@/utils/request'

// 查询实时识别记录列表
export function listTemperaturerecord(query) {
  return request({
    url: '/wisdom/temperaturerecord/list',
    method: 'get',
    params: query
  })
}

// 查询实时识别记录详细
export function getTemperaturerecord(temperatureId) {
  return request({
    url: '/wisdom/temperaturerecord/' + temperatureId,
    method: 'get'
  })
}

// 新增实时识别记录
export function addTemperaturerecord(data) {
  return request({
    url: '/wisdom/temperaturerecord',
    method: 'post',
    data: data
  })
}

// 修改实时识别记录
export function updateTemperaturerecord(data) {
  return request({
    url: '/wisdom/temperaturerecord',
    method: 'put',
    data: data
  })
}

// 删除实时识别记录
export function delTemperaturerecord(temperatureId) {
  return request({
    url: '/wisdom/temperaturerecord/' + temperatureId,
    method: 'delete'
  })
}
